package com.definity.toolkit.ui.widget;

import java.awt.Color;
import java.awt.Component;
import java.awt.Font;

import com.definity.toolkit.ui.Body;

public interface Widget<C extends Component> {

	String id();
	
	C id(String id);
	
	C properties(Body<C> body);
	
	Color background();
	
	C background(Color background);

	Color foreground();
	
	C foreground(Color foreground);
	
	C size(int width, int height);
	
	Font font();
	
	C font(Font font);
	
}
